package cn.zeng.dto;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

import static cn.zeng.dto.Color.BLACK;


/**
 * 肺癌
 * @author zyb
 */
@Data
public class LungCancer {
    private String level="你奉献啊";
    private String image= "u4736.png";

    private Integer age=12;

    private String familyLungCancer="meiyouba";
    private String familyLungCancerColor = BLACK.getName();

    private String smoking="你好啊";
    private String smokingColor = BLACK.getName();
    /**
     * 慢支炎/肺气肿病
     */
    private String chronicCronchitisAndEmphysema="meiyouba";
    private String chronicCronchitisAndEmphysemaColor = BLACK.getName();

    private String cooking="211";
    private String cookingColor = BLACK.getName();

    private Integer vegetableAndFruit=11;
    private String vegetableAndFruitColor = BLACK.getName();
    private String vegetableAndFruitReference="112";

    /**
     * 改善方式
     */
    private String improveWay="没啥好改善的";

    public Map<String,Object> toMap(){
        Map<String, Object> map = new HashMap<>(16);
        map.put("LungCancer_level", level);
        map.put("LungCancer_image", image);
        map.put("LungCancer_age", age);
        map.put("LungCancer_familyLungCancer", familyLungCancer);
        map.put("LungCancer_familyLungCancerColor", familyLungCancerColor);
        map.put("LungCancer_smoking", smoking);
        map.put("LungCancer_smokingColor", smoking);
        map.put("LungCancer_chronicCronchitisAndEmphysema", chronicCronchitisAndEmphysema);
        map.put("LungCancer_chronicCronchitisAndEmphysemaColor", chronicCronchitisAndEmphysemaColor);
        map.put("LungCancer_cooking", cooking);
        map.put("LungCancer_cookingColor", cookingColor);
        map.put("LungCancer_vegetableAndFruit", vegetableAndFruit);
        map.put("LungCancer_vegetableAndFruitColor", vegetableAndFruitColor);
        map.put("LungCancer_vegetableAndFruitReference", vegetableAndFruitReference);
        map.put("LungCancer_improveWay", improveWay);
        return map;
    }


}
